Total Complexity | 18 |
Dependencies | 6 |
Dependents | 1 |
Total lines | 150 |
Lines of code | 73 |
Logical lines of code | 42 |
Comment lines | 31 |
Methods | 7 |
Properties | 5 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
removeGift() | 56 | 4 | 20 | |
addGift() | 56 | 4 | 19 | |
hasGift() | 64 | 3 | 10 | |
getGift() | 65 | 3 | 9 | |
getGiftProductPrimary() | 71 | 2 | 6 | |
__construct() | 71 | 1 | 6 | |
getCartTotalAmount() | 81 | 1 | 3 |